package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.article.domain.Region;
import cn.wolfcode.luowowo.common.query.QueryObject;
import cn.wolfcode.luowowo.common.util.AjaxResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRegionService {
    PageInfo<Region> query(QueryObject qo);

    List<Destination> listDestByRegionId(Long rid);

    void saveOrUpdate(Region region);

    List<Region> listAll();
}
